/* 弹框遮罩层样式 */
.package-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* 弹框内容样式 */
.package-modal-content {
  position: relative;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 200px;
}

/* 弹框关闭按钮样式 */
.package-modal-close-btn {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: none;
}

.package-modal-close-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 弹框主体内容样式 */
.package-modal-body {
  width: 90%;
  padding: 0px;
  text-align: center;
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  margin-top: 10px;
}

.package-modal-title {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #fff;
}

/* 已选择的行李展示区域 */
.package-items-grid {
  display: flex;
  justify-content: center;
  gap: 0.7px;
  margin-top: 10px;
}

.package-item {
  width: 65px;
  height: 65px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.package-item-icon {
  width: 45px;
  height: 45px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
    position: relative;
  top: 5px;
}

.package-item-text {
  font-size: 10px;
  color: #333;
  text-align: center;
  margin-top: 2px;
  text-shadow: none;
  position: relative;
  top: 15px;
}

@media (max-width: 820px) and (min-width: 801px){
  .package-modal-content{
    width: 60% !important;
  }
  .package-items-grid{
        gap: 24.7px
  }
}